import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/styles/element-variables.module.scss'
import './assets/styles/index.scss'
import './assets/icons/index.js'
import './mock/index.js'
Vue.config.productionTip = false
Vue.use(ElementUI, {
    size: 'mini'
})
Vue.prototype.$success = function (msg) {
    this.$message({ message: msg, type: 'success' })
}
ElementUI.Dialog.props.closeOnClickModal.default = false
ElementUI.Dialog.props.lockScroll.default = false
new Vue({
    el: '#app',
    router,
    store,
    render: (h) => h(App)
})
